- 
		Home
	
 
	- 
WP Statistics – Simple, privacy-friendly Google Analytics alternative
 
- 
13.1
 
- 
Code
 
- 
Classes
 
-  Hits 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											64 | 
										
																			
											| Dependencies | 
											9 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											313 | 
										
																			
											| Lines of code | 
											130 | 
										
																			
											| Logical lines of code | 
											65 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											120 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| record() | 
									B  | 
																	50 | 
													19 | 
													24 | 
							
					
				| rest_params() | 
									S  | 
																	60 | 
													7 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	54 | 
													3 | 
													20 | 
							
					
				| set_user_agent() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| set_current_page() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| set_hash_ip() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| set_exclusion() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| set_track_all() | 
									S  | 
																	70 | 
													3 | 
													6 | 
							
					
				| set_user_referer() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_user_ip() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_user_http_agent() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_current_timestamp() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_page_uri() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_user_id() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| is_rest_hit() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| record_login_page_hits() | 
									S  | 
																	75 | 
													2 | 
													5 | 
							
					
				| record_wp_hits() | 
									S  | 
																	74 | 
													2 | 
													5 |